package com.gnerv.plug;

import com.gnerv.plug.comment.CommentGroupAction;
import com.gnerv.plug.comment.action.ClassCommentAction;
import com.gnerv.plug.comment.action.SetAuthor;
import com.gnerv.plug.discuss.DiscussGroupAction;
import com.gnerv.plug.maven.MavenGroupAction;
import com.gnerv.plug.note.NoteGroupAction;
import com.intellij.openapi.actionSystem.ActionGroup;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.DefaultActionGroup;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
 * <p>
 *
 * @Description: [asd]
 * @Author: [Gnerv]
 * @CreateDate: [2020/08/14]
 * </p>
 */
public class EmbraceSourceGroup extends ActionGroup {

    @NotNull
    @Override
    public AnAction[] getChildren(@Nullable AnActionEvent anActionEvent) {
        return new AnAction[]{
                new CommentGroupAction("Comment", true),
                new MavenGroupAction("Maven", true),
                new NoteGroupAction("Note", true),
                new DiscussGroupAction("Discuss", true)
        };
    }
}
